package com.example.demo.mapper;

import com.example.demo.entity.admin_logs;

import java.util.List;

public interface admin_logs_mapper {

    // 查询全部数据
    List<admin_logs> selectAllLogs();

    // 新增数据
    int insertLog(admin_logs log);

    // 删除数据
    int deleteLog(int id);

    // 模糊查询
    List<admin_logs> searchLogs(String searchTerm);
}